package com.example.webdemo.dao;

import com.example.webdemo.model.PhoneCode;
import org.apache.ibatis.annotations.Param;

public interface PhoneCodeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PhoneCode record);

    int insertSelective(PhoneCode record);

    PhoneCode selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PhoneCode record);

    int updateByPrimaryKey(PhoneCode record);

    PhoneCode selectByPhone(@Param("phone") String phone);

    int deleteByPhone(@Param("phone") String phone);
}